from fastapi import HTTPException


UsernameAlreadyTaken = HTTPException(
    status_code=400,
    detail="已存在此名称的用户。"
)

InvalidUserName = HTTPException(
    status_code=400,
    detail="不存在具有此名称的用户。"
)

InvalidUserPassWord = HTTPException(
    status_code=400,
    detail="密码强度不够。"
)

InvalidPermissions = HTTPException(
    status_code=400,
    detail="您没有此操作的权限。"
)
